package demo2;

public class Animal implements Cloneable{
    String name;
    int num;
    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
